﻿<div ng-controller="StaffTimeListController">
    <div class="clearfix">
        <h3>Staff Time List</h3>
        <p>{{texts['lb-store']}}</p>
    </div>
    <div class="mga clearfix">
        <select class="CBB" ng-model="myStore">
            <option value="">All store</option>
            <option ng-repeat="store in rowsStoreList" value="{{ store.Name }}">{{store.Name}}</option>
        </select>
    </div>
    <div class="mt10 clearfix">
        <table class="tableKind-01 table-StaffTime w760">
            <tr>
                <th>{{texts['lb-date']}}</th>
                <th>{{texts['lb-staff-name']}}</th>
                <th>{{texts['lb-contract-type']}}</th>
                <th>{{texts['lb-edit']}}</th>
            </tr>
            <tr ng-repeat="row in rowsStaffList | filter : myStore">
                <td>{{row.StampDate}}</td>
                <td>{{row.StaffName}}</td>
                <td>{{row.ContractType}}</td>
                <td class="center"><button class="w110" value="Edit" ng-click="edit(row.StaffId, row.StampDate)" >Edit </button></td>
            </tr>
        </table>
        <p class="mt10 clearfix">{{texts['staff-time-note']}}</p>
    </div>

</div>
